package com.shiqi.order.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * name要调用的服务
 * path controller类上指定的@RequestMapping路径
 */
@FeignClient(name = "stock-service", path = "/stock")
public interface StockFeignService {

    @RequestMapping("/reduce")
    String reduce();
}
